import {Component} from "@angular/core";
import {ModalController} from "ionic-angular";
import {StrategySearchPage} from "./strategy-search/strategy-search";
/**
 * Created by s-wangh on 2017/11/13.
 */
@Component({
  selector: 'strategy-recommend',
  templateUrl: 'strategy-recommend.html'
})
export class StrategyRecommendPage {
  constructor(public modalCtrl: ModalController) {

  }
  advancedSearch() {
    let queryModal = this.modalCtrl.create(StrategySearchPage, {
      // "listType" : this.listType
    });
    queryModal.onWillDismiss(data => {
      if (data && data != "close") {
      }
    });
    queryModal.present();
  }
}
